﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
  public  class Customer
    {
        [Key]
        [Required]
        public int Id { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerName { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerNiCheng { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerPassWord { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerSex{ get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerTouXiang { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerPhone { get; set; }
        [StringLength(50)]
        [Required]
        public string CustomerEmail { get; set; }
       [Required]
        public DateTime CustomerLoginTime { get; set; }
        public object UserId { get; set; }
    }
}
